package singleton;

/**
 * @ClassName LazySingletonThree
 * @Description TODO
 * @Author 李奉武
 * @Motto 逆水行舟, 不进则退
 * @Date 2022/3/31 14:34
 * @Version 1.0
 */
public class LazySingletonThree {

    private LazySingletonThree() {
    }

    public static class StaticSingleton{
        private final static LazySingletonThree lazySingletonThree=new LazySingletonThree();
    }

    public static LazySingletonThree getInstance(){
        return StaticSingleton.lazySingletonThree;
    }
}
